#{extends 'mana-main.html' /}
#{set recommendActive :"active" /}
#{set title :"修改推荐" /}
<br>
<br>
<br>
<br>
<br>

<form class="bs-docs-example form-horizontal" method="post" action="@{Recommends.modifyRecommend}">
    <fieldset>
        <legend>修改推荐</legend>
<div class="control-group">
    <label class="control-label" for="T-name">标题</label>
    <div class="controls">
      <input type="text" id="T-name" placeholder="" name="name" value="${productrecommended.name}">
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="T-article">文章ID</label>
    <div class="controls">
      <input type="text" id="T-article" placeholder="" name="keyId" value="${productrecommended.keyId}">
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="T-photo">图片ID</label>
    <div class="controls">
      <input type="text" id="T-photo" placeholder="" name="photoId" value="${productrecommended.photo_id}">
    </div>
  </div>
   <div class="control-group">
    <label class="control-label" for="T-weight">权重</label>
    <div class="controls">
      <input type="text" id="T-weight" placeholder="" name="weight" value="${productrecommended.weight}">
    </div>
  </div>
  <input type="hidden" id="id" placeholder="" name="id" value="${productrecommended.id}">
  

  <div class="control-group">
    <div class="controls">
      <button type="submit" class="btn btn-info">提交</button>
    </div>
  </div>
 </fieldset>
</form>
